package com.chaoyi.service;

import java.util.List;

import com.chaoyi.model.Role;

public interface RoleService {

	List<Role> findRoleList(String offset, String limit);

	int addRole(String roleName);

	int deleteRole(int id);

	List<Role> findModelInfo(int roleId);

	int updateModelInfo(int roleId, List<String> menuInfoList);
	
	List<Role> findRoleName();

}
